home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d20 / fddev202.arc / C.ARC / MAILHIST.H < prev    next >
Text File  |  1991-10-01  |  2KB  |  49 lines

  1. /*
  2. **  mailhist.h (FrontDoor)
  3. **
  4. **  Copyright 1991 Joaquim H. Homrighausen. All rights reserved.
  5. **
  6. **  INBOUND/OUTBOUND.HIS format for FrontDoor 2.00+
  7. **
  8. **  Last revision:  91-10-02
  9. **
  10. **  -------------------------------------------------------------------------
  11. **  This information is not necessarily final and is subject to change at any
  12. **  given time without further notice
  13. **  -------------------------------------------------------------------------
  14. */
  15.  
  16. /*
  17. **  The first record in the .HIS files is not a valid history entry. It
  18. **  contains the date/time when the .HIS file was last packed or when
  19. **  it was created if it has never been packed. So if you're reading the
  20. **  .HIS files for any reason, skip the first record and you'll be at the
  21. **  first valid record.
  22. **
  23. **  Note that the two char[] fields are in Pascal fashion. The first byte is
  24. **  the length byte. The actual string starts at [1] and the string is NOT
  25. **  NUL terminated. In pascal they would be string[30] and string[38].
  26. **
  27. **  Note that the COST field will contain zero for inbound mail sessions as
  28. **  well as any failed session negotiated using the script language.
  29. */
  30. typedef struct
  31.     {
  32.     word    year,                                            /* 1990 - xxxx */
  33.             month,                                                /* 1 - 12 */
  34.             day,                                                  /* 1 - 31 */
  35.             hour,                                                 /* 0 - 23 */
  36.             min,                                                  /* 0 - 59 */
  37.             sec,                                                  /* 0 - 59 */
  38.             zone,net,node,point;
  39.     char    system_name[31],
  40.             city[39];
  41.     word    timeonline;                            /* Seconds spent on-line */
  42.     dword   rcvd_bytes,
  43.             sent_bytes;
  44.     word    cost;
  45.     }
  46.     MAILHIST, *MAILHISTPTR;
  47.  
  48. /* end of file "mailhist.h" */
  49.